﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdateHeadPortrait.aspx.cs" Inherits="AiXiu.WebSite.UpdateHeadPortrait" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no" />
    <title>修改头像</title>
    <link href="Content/mui/css/mui.css" rel="stylesheet" />
    <style type="text/css">
        #content {
            height: 360px;
            padding-top: 10px;
            text-align: center;
        }

        #lblOne {
            width: 28%;
        }

        #FileUpload1 {
            width: 50%;
            float: left;
            margin-top: 4px;
        }

        #btnUpload {
            width: 16%;
            background-color: #007aff;
            color: #fff;
            margin-right: 4px;
        }

        #Image1 {
            width: 80%;
            height: 80%;
        }
    </style>
</head>
<body>
    <div class="mui-content">
        <form id="form1" runat="server" class="mui-input-group" method="post" enctype="multipart/form-data">
            <div class="mui-input-row" id="content">
                <label id="lblOne">上传头像</label>
                <asp:FileUpload ID="FileUpload1" runat="server" />
                <asp:Button ID="btnUpload" runat="server" Text="上传头像" UseSubmitBehavior="False" OnClick="btnUpload_Click" />
                <asp:Image ID="Image1" runat="server" />
            </div>
            <div class="mui-content-padded">
                <asp:Button ID="btnSave" runat="server" Text="立即更新" class="mui-btn mui-btn-block" OnClick="btnSave_Click" />
            </div>
        </form>
    </div>
</body>
</html>
